package com.windward.vii.service;

import com.windward.vii.dao.entity.AssetUserRecharge;
import com.windward.vii.dao.mapper.AssetUserRechargeMapper;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class AssetUserRechargeService {

    @Resource
    AssetUserRechargeMapper assetUserRechargeMapper;

    public boolean insert(AssetUserRecharge assetUserRecharge) {
        int row = assetUserRechargeMapper.insertSelective(assetUserRecharge);
        return row > 0;
    }

}
